package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingProjectDto;
import com.zzyl.vo.NursingProjectVo;

import java.util.List;

/**
 * @Description NursingProjectService
 * @Author loe
 * @Date 2024-07-06
 */
public interface NursingProjectService {

    /**
     * 护理项目分页条件查询
     * @param name
     * @param pageNum
     * @param pageSize
     * @param status
     * @return
     */
    PageResponse<NursingProjectVo> limitSearch(String name, Integer pageNum, Integer pageSize, Integer status);

    void create(NursingProjectDto nursingProjectDto);

    NursingProjectVo getById(Long id);

    void update(NursingProjectDto nursingProjectDto);

    void updateStatus(Long id, Integer status);

    void deleteById(Long id);

    List<NursingProjectVo> searchAll();
}
